package moveMysql;

import java.io.Serializable;

public class Subsite implements Serializable {
    private Long id;
    private String name;
    private String baseUrl;
    private String type;
    private String workerEntranceUrl;
    private String managerEntranceUrl;

    public Subsite() {
    }

    public Subsite(Long id, String name, String baseUrl, String type, String workerEntranceUrl, String managerEntranceUrl) {
        this.id = id;
        this.name = name;
        this.baseUrl = baseUrl;
        this.type = type;
        this.workerEntranceUrl = workerEntranceUrl;
        this.managerEntranceUrl = managerEntranceUrl;
    }

    @Override
    public String toString() {
        return "Subsite{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", baseUrl='" + baseUrl + '\'' +
                ", type='" + type + '\'' +
                ", workerEntranceUrl='" + workerEntranceUrl + '\'' +
                ", managerEntranceUrl='" + managerEntranceUrl + '\'' +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getWorkerEntranceUrl() {
        return workerEntranceUrl;
    }

    public void setWorkerEntranceUrl(String workerEntranceUrl) {
        this.workerEntranceUrl = workerEntranceUrl;
    }

    public String getManagerEntranceUrl() {
        return managerEntranceUrl;
    }

    public void setManagerEntranceUrl(String managerEntranceUrl) {
        this.managerEntranceUrl = managerEntranceUrl;
    }
}
